import request from '../http'
const prefix_portal = "/xysd-portal";
// api枚举
enum Api {
  Login = prefix_portal + "/login"
}

// 用户信息
interface UserInfo {
  account: string,
  password: string
}

/**
 * 登录
 */
export const accountLogin = (data:UserInfo) => {
  return request({
    url: Api.Login,
    method: 'post',
    data,
  })
}

